package com.jeejio.train.dao;

import com.jeejio.train.entity.Lecturer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LecturerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Lecturer record);

    int insertSelective(Lecturer record);

    Lecturer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Lecturer record);

    int updateByPrimaryKey(Lecturer record);

    List<Lecturer> selectByLoginName(String loginName);
}